<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
		<%@ taglib uri="http://www.tietiao.com/functions" prefix="my"%>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>用户注册</title>
		<%@ include file="../include/easyjs_include.jsp"%>
		<script type="text/javascript" src="./js/fg/common/utils.js"></script>
		<script type="text/javascript" src="./js/fg/user/register_first.js"></script>
	</head>
	<body class="no-subnav page-home">
		<c:import url="../include/default_head.jsp"/>
		<div class="container">
			<div class="sign up2" id="content">
				<div class="teaser alt">
					<div class="container"> </div>
				</div>
				<div class="wrapper-content">
					<div style="text-align:right;font-size:14px;" class="wrapper-content-title">已经有贴条帐号？<a class="reg-login" href="#">直接登录</a></div>
					<div id="content">
						<div class="reg-step-area">
							<a href="#" class="reg-step1">基本信息</a><a href="#" class="reg-step3">推荐关注</a><a href="#" class="reg-step4">完成注册息</a>
							<div style="font-size:30px;padding:10px 0;">欢迎加入！一起分享你我的精美视觉！</div>
						</div>
						<form action="" id="formId" method="post">
							${my:tokenInput()}
							<input id="ajaxPetName" value="0" type="hidden"/>
							<input id="ajaxEmail"  value="0" type="hidden">
							<fieldset class="hastext">
								<span class="title">用户名：</span>
								<input type="text" name="sysUser.petName" id="userName" placeholder="请输入昵称"  class="sffocus jqPlaceholder" maxlength="32" original-title="Choose a unique username">
								 <span>用户昵称长度不超过16个汉字或32个英文字母</span><span class="error message" style="display:none;"></span><br>
								<span class="title">邮箱：</span>
								<input type="text" name="sysUser.email" id="email" placeholder="请输入邮箱" class="sffocus jqPlaceholder" maxlength="50" original-title="What's your email address?" value="Email">
								 <span>符合a@b.c邮箱格式，最少5位</span><span class="error message" style="display:none;"></span><br>
								<span class="title">密码：</span>
								<input type="password" name="sysUser.password" id="password" placeholder="请输入确认密码" maxlength="16" class="sffocus jqPlaceholder" original-title="At least 6 characters">
								 <span>密码为6-16为数字或者字母组合</span><span class="error message" style="display:none;"></span><br>
								<span class="title">确认密码：</span>
								<input type="password" name="user_password" id="password2" placeholder="请输入重复密码" maxlength="16" class="sffocus jqPlaceholder" original-title="At least 6 characters">
								<span>请再输入一遍密码。</span><span class="error message" style="display:none;"></span><br>
								<span class="title">邀请码：</span>
								<input type="text" name="validate" id="invite" placeholder="请输入邀请码" maxlength="10" class="sffocus jqPlaceholder" original-title="At least 6 characters">
								<span>您邮箱中收到的邀请码。</span><span class="error message" style="display:none;"></span><br>
								<span class="title">临时验证码：</span>
								<input type="text" style="width:110px;" name="random" id="random" placeholder="临验证码" maxlength="10" class="sffocus jqPlaceholder" original-title="At least 6 characters">
								<img id="randomImg" src="randomImg?time=<%=new java.util.Date()%>" class="randomImg" width="114" height="42" onclick="javascript:$('#randomImg').attr('src','randomImg?time='+new Date().getTime());return false;"/>
								<span class="error message" style="display:none;"></span><br>
								
								<span class="title">&nbsp;</span>
								<input id="checkbuttion" type="checkbox" title="接受服务条例 " checked="checked" name="checkInpu">
								<a href="#">接受服务条例</a> <br>
								<input type="hidden" value="" class="invitation_key" name="invitation_key">
								<span class="title">&nbsp;</span>
								<button class="button sign" type="submit" id="buttionSubmit">继续</button>
							</fieldset>
						</form>
					</div>
				</div>
		</div>
	<c:import url="../include/default_foot.jsp"/>
</div>
</body>
</html>